import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
// import 'element-ui/lib/theme-chalk/index.css'
import '@/assets/global.less'

// 导入副文本编辑器
import VueQuillEditor from 'quill-vuejs'
// import 'quill/dist/quill.core.css' // import styles
// import 'quill/dist/quill.snow.css' // for snow theme
// import 'quill/dist/quill.bubble.css' // for bubble theme
import dayjs from 'dayjs'
Vue.use(VueQuillEditor)

Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.filter('dataFormat', str => {
  return dayjs(str).format('YYYY-MM-DD HH:mm:ss')
})
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
